package com.indexingsystem.boss.common;

public class Constants {

	public static final String CONFIG_PATH = "/WEB-INF/classes";

	public static final String CURRENT_USER = "user";

	public static final Long MIN_FILE_SIZE = 2048l;

	/**
	 * 验证码密钥key.
	 */
	public static final String VALIDATE_CODE_KEY = "34d64191174ad64e3668c5a17bbcdca7";

	/**
	 * HTTP POST请求
	 */
	public static final String POST = "POST";

	/**
	 * UTF-8编码
	 */
	public static final String UTF8 = "UTF-8";

	/**
	 * 门户响应数据集合的长度.
	 */
	public static final String LENGTH = "length";
	
	/**
	 * 门户响应数据集合的长度.
	 */
	public static final String INVOICESLENGTH = "invoicesLength";
	
	/**
	 * 门户响应数据集合的长度.
	 */
	public static final String ORDERPROCESSESLENGTH = "orderProcessesLength";

	/**
	 * 返回当前所在页码.
	 */
	public static final String PAGE_NUMBER = "pageNumber";
	/**
	 * 返回当前所在页码.
	 */
	public static final String INVOICESPAGE_NUMBER = "invoicesPageNumber";
	/**
	 * 返回当前所在页码.
	 */
	public static final String ORDERPROCESSESPAGE_NUMBER = "orderProcessesPageNumber";

	/**
	 * 门户响应的数据内容.
	 */
	public static final String DATA = "result";

	public static final String DEFAULT_PW = "11222333";

	public static final String RESULT_CODE = "result_code";

	public static final String RESULT_MESSAGE = "message";

	public static final String GOTO_PAGE = "back_url";
	
	public static final String ORDERPRODUCTS_NOT_EXITS = "无发票信息！";
	
	public static final String ORDER_PRODUCT_NOT_CATEGORY= "无产品资源分类信息,请修改订单中加入产品后再进行浏览操作!";
	
	public static final String INVOICES_NOT_EXITS = "无发票信息！";
	public static final String CONTRACT_NOT_EXITS = "无合同信息！";
	public static final String CONTRACTPUSH_NOT_EXITS = "无合同推送信息！";
	public static final String PAVILIONS_NOT_EXITS = "无分馆信息！";

	public static final String PAVILION_COLUMNS_EXITS = "无栏目信息!";

	public static final String ROLE_GROUP_NOT_EXITS = "无角色组信息!";

	public static final String USER_NOT_EXITS = "无个人用户信息!";

	public static final String ORDER_NOT_EXITS = "无订单信息!";

	public static final Object TABLES_NOT_EXITS = "无表信息!";
	
	public static final Object TABLES_COLUMN_NOT_EXITS = "无列信息!";

	public static final String TERMINALS_NOT_EXITS = "无终端信息!";

	public static final String REQUET_PARAM_ERROR = "请求参数不完整!";

	public static final String VALIDATION_CODE_ERROR = "验证码不正确！";

	public static final String ROLE_NOT_EXITS = "无相关角色信息!";

	public static final String MENU_NOT_EXITS = "无相关菜单配置!";

	public static final String INSTITUTIONS_NOT_EXITS = "无相关机构信息!";
	
	public static final String PAVILION_COLUMNS_NOT_EXITS = "无相关栏目信息!";

	public static final String SYS_CONFIG_NOT_EXITS = "无基础配置信息!";

	public static final String FUNCTION_NOT_EXITS = "无相关功能信息!";

	public static final String ROLE_GROUP_NAME_IS_EXITS = "角色组名称已存在,不能重复添加!";

	public static final String USER_ROLE_NOT_EXITS = "无用户关联信息!";

	public static final String RESOURCE_TYPE_NOT_EXITS = "无资源类型信息!";

	public static final String WEBSITES_NOT_EXITS = "无站点相关信息!";

	public static final String RESOURCE_NOT_EXITS = "无资源信息!";
	
	public static final String ORDER_RESOURCE_NOT_EXITS = "上级机构没有订单产品资源信息，请保证上级机构有已安装正常的订单存在!";

	public static final String APPLICATION_NOT_EXITS = "无应用管理信息!";

	public static final String IP_RULE_NOT_EXITS = "无IP规则信息!";

	public static final String OPERATIONS_NOT_EXITS = "无操作权限信息!";

	public static final String PRODUCT_NOT_EXITS = "无产品分类信息!";

	public static final String SCOPES_NOT_EXITS = "无授权范围信息!";

	public static final String MAGAZINES_NOT_EXITS = "无报刊信息!";

	public static final String BOOKS_NOT_EXITS = "无图书信息!";

	public static final String ARTICLES_NOT_EXITS = "无文章信息!";
	public static final String WEBSHAT_NOT_EXITS = "无微信分享信息!";
	public static final String VIDEOS_NOT_EXITS = "无视频信息!";

	public static final String GAMES_NOT_EXITS = "无游戏信息!";
	
	public static final String LOGS_NOT_EXITS = "无日志信息！";
	
	public static final String TASKS_NOT_EXITS = "无任务信息！";
	
	public static final String ANALYSIS_MASTER_NOT_EXITS = "无行为日志信息！";
	
	public static final String PAVILIONS_NAME_NOT_EXITS = "分馆名不存在";

	public static final Object DATA_NOT_EXITS = "未查询到数据";

	// 错误异常
	public static final String USER_NAME_EXITS = "用户名已存在，不能添加重复用户!";

	public static final String INSTITUTION_NAME_EXITS = "机构名、机构显示名称已存在，请输入新的机构名和机构显示名，机构名和显示名称可以一样!";

	public static final String FUNCTIONES_CODE_EXITS = "功能编码已存在,请重新输入!";
	
	public static final String FUNCTIONES_NAME_EXITS = "功能名称已存在,请重新输入!";
	    
	public static final String FUNCTIONES_EN_NAME_EXITS = "功能英文名称已存在,请重新输入!";
	
	public static final String FUNCTIONES_ENABLE_STATUS_INVALID = "选择的功能已禁用，不能关联权限操作，请重新启用!";

	public static final String TERMINAL_CODE__EXITS = "终端编码已存在，不能添加重复!";

	public static final String SCOPES_CODE_OR_NAME_OR_URL_EXITS = "资源服务编码、资源服务名称、资源服务URL其中一个已存在!";

	public static final String ROLES_NAME_EXITS = "角色名已存在,不能添加重复角色!";
	
	public static final String ROLES_CODE_EXITS = "角色编码已存在,不能添加重复角色!";
	
	public static final String ROLES_GROUP_NAME_EXITS = "角色组名已存在，不能添加重复角色组!";
	
	public static final String RESOURCE_TYPE_NAME_EXITS = "资源类型名已存在，不能重复添加!";
	
	public static final String RESOURCE_TYPE_EN_NAME_EXITS = "资源类型英文名已存在，不能重复添加!";
	
	public static final String RESOURCE_TYPE_RES_TABLE_EXITS = "资源类型资源明细表已存在，不能重复添加!";

	public static final String RESOURCE_TYPE_EXITS = "资源类型名或资源类型英文名已存在，不能重复添加!";

	public static final String RESOURCE_CATEGORS_TYPE_EXITS = "资源分类名已存在，不能重复添加!";
	
	public static final String RESOURCE_CATEGORS_ORDER_NUMBER_EXITS = "资源分类排序已存在，不能重复添加!";
	
	public static final String RESOURCE_NOT_BUILD = "不能选择相同的资源分类建立关系";

	public static final String PRODUCT_CATEGORS_TYPE_EXITS = "产品分类名已存在,不能重复添加!";

	public static final String IPRULE_NAME_EXITS = "IP规则名称重复，请输入新的名称！";
	
	public static final String IPRULE_EXPRESSION_EXITS = "IP表达式重复,请输入新的IP表达式!";

	public static final String OPERATIONS_CODE_OR_NAME_EXITS = "权限编码或权限名称不能重复!";

	public static final String RES_CATEGORY_RELATIONS_EXITS = "资源分类中已添加该资源，不能重复添加!";

	public static final String APPLICATIONS_NAME_TXITS = "应用管理名称已存在，不能重复添加应用!";
	
	public static final String APPLICATIONS_APPURLNAME_TXITS = "应用管理域名已存在，不能重复添加应用!";

	public static final String CURR_USER_NOT_LOGIN = "当前用户没有登录!";

	public static final String SYSCONFIG_KEY_OR_VALUE_EXITS = "相同的系统参数键中系统参数值不能重复!";
	
	public static final String SYSCONFIG_KEY_OR_NAME_EXITS = "相同的系统参数键中名称不能重复!";
	
	public static final String SYSCONFIG_VALUE_OR_NAME_EXITS ="相同的参数值中名称不能重复!";

	public static final String IS_PUBLICATIONS = "连续出版物只能添加文章或报刊资源!";
	
	public static final String IS_NOT_PUBLICATIONS = "非连续出版物不能添加报刊资源或文章！";
	
	public static final String RESOURCE_TYPE_MAGAZINES_NOT_ADD = "报刊或文章类型资源只能跟其它报刊或文章资源建立资源关系！";
	
	public static final String RESOURCE_TYPE_NOT_PUBLICATIONS = "非报刊或非文章类型的资源不能跟报刊或文章类型资源建立资源关系！";
	
	public static final String PAVILIONCOLUMNS_NAME_EXITS = "栏目名已存在，不能重复添加!";
	
	public static final String PAVILION_NAME_EXITS = "分馆名已存在，不能重复添加!";
}